python regex to print text from a specific pattern to another pattern but in condition that a specif

welcome to shbcf.ru